/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.cax.domain.bo;


import com.comac.ins.cax.domain.CaxGeometricCheck;
import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.common.mybatis.core.page.PageQuery;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 【cax几何校验】业务对象 cax_geometric_check
 *
 * @author Lion Li
 * @date 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CaxGeometricCheck.class, reverseConvertGenerate = false)
public class CaxGeometricCheckBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 转换记录id
     */
    @NotNull(message = "转换记录id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long convertId;

    /**
     * 顶点是否相互覆盖，1表示覆盖，0表示未覆盖
     */
    @NotBlank(message = "顶点是否相互覆盖，1表示覆盖，0表示未覆盖不能为空", groups = { AddGroup.class, EditGroup.class })
    private String converged;

    /**
     * 模型2表面积
     */
    @NotBlank(message = "模型2表面积不能为空", groups = { AddGroup.class, EditGroup.class })
    private String destSurfaceArea;

    /**
     * 模型2顶点数
     */
    @NotBlank(message = "模型2顶点数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String destVertexCount;

    /**
     * 模型2体积
     */
    @NotBlank(message = "模型2体积不能为空", groups = { AddGroup.class, EditGroup.class })
    private String destVolumn;

    /**
     * 两模型的平均距离（配准）
     */
    @NotBlank(message = "两模型的平均距离（配准）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String score;

    /**
     * 模型1表面积
     */
    @NotBlank(message = "模型1表面积不能为空", groups = { AddGroup.class, EditGroup.class })
    private String srcSurfaceArea;

    /**
     * 模型1顶点数
     */
    @NotBlank(message = "模型1顶点数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String srcVertexCount;

    /**
     * 模型1体积
     */
    @NotBlank(message = "模型1体积不能为空", groups = { AddGroup.class, EditGroup.class })
    private String srcVolumn;


}
